﻿using ExpressesClass.BestApi.Utils;
using ExpressesClass.DepponApi.Base;
using ExpressesClass.DepponApi.billTraceNotify.response;
using ExpressesClass.DepponApi.Util;
using System;

namespace ExpressesClass.DepponApi.billTraceNotify.request
{
    public class BillTraceNotifyReq : DepponRequest
    {
        public BillTraceNotifyReq()
        {
            this.mailNo = "";
        }
        public String mailNo { get; set; }

        public override string GetUrl()
        {
            return ConfigUrl.GetUrl("TRACE");
        }

        public override DepponResponse makeResponse(string rsp)
        {
            return JsonParser.jsonToObj<BillTraceNotifyRsp>(rsp);
        }
    }
}
